package com.yyl.render.ui

import android.content.Context
import android.opengl.GLSurfaceView
import android.util.AttributeSet
import com.yyl.render.render.SimpleRender

class YUVSurfaceView(context: Context, attrs: AttributeSet?) : GLSurfaceView(context, attrs) {
    val simpleRender = SimpleRender()

    init {
//        simpleRender.attachSurface(this)
    }

    fun onDestroy() {
        simpleRender.onDestroy()
    }
}
